package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class TbGoods {
    @TableId(type = IdType.AUTO)
    private Integer goodsId;
    private String  goodsName;
    private String goodsNo;
    private Integer brandId;
    private String  brandName;
    private BigDecimal goodsPrice;
    private Date createTime;
    private String goodsImage;
    private Integer userId;
    private String nickName;
    private String goodsTitle;
    @TableField(exist = false)
    private List<TbDetails> detailsList;
    @TableField(exist = false)
    private String token;
}
